<?php 

include '../../function.php';

//获取目录下的所有文件
$fileArr = glob('./Upload/*');
//统计总数
$count = count($fileArr);
//获取分页
$curren = isset($_GET['p']) ? $_GET['p'] : 1;

//截取数组
$fileArr = array_slice($fileArr,($curren-1)*2,2);

//引模板
include './Tpl/index.html';












 ?>